import { OmitType, PartialType } from "@nestjs/mapped-types";
import { IsString } from "class-validator";
import { CreateDictTypeDto } from "./create-dict-type.dto";

export class UpdateDictTypeDto extends PartialType(OmitType(CreateDictTypeDto, ["code"] as const)) {
    @IsString()
    id!: string;
}
